﻿//using Newtonsoft.Json;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Net.Security;
//using System.Net;
//using System.Text;
//using System.Threading.Tasks;
//using ZhongLiang.Core.Helpers;
//using ZhongLiang.Core.Models;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Threading.Tasks;
//using System.Net.Http;
//using System.Security.Cryptography.X509Certificates;
//using System.Net.Http.Headers;
////using ZhongLiang.Core.Entities;
//using ZhongLiang.Core.Models;
//using ZhongLiang.Core.Models.Response;

//namespace ZhongLiang.Core.Services {
//    public interface IHttpService
//    {
//        public Task<Tuple<bool, string>> Post(string url, string postData, int iWaitTime);

//        ///// <summary>
//        ///// 
//        ///// </summary>
//        ///// <param name="url"></param>
//        ///// <param name="req_info"></param>
//        ///// <returns></returns>
//        //public Task<ResStaff?> Staff(string url, object req_info);

//        //public Task<ResDepartInfo?> DepartInfo(string url, object req_info);

//        /// <summary>
//        /// 
//        /// </summary>
//        /// <typeparam name="T"></typeparam>
//        /// <param name="code"></param>
//        /// <param name="req_info"></param>
//        /// <param name="req_info2"></param>
//        /// <returns></returns>
//        public Task<T> GetZhongLian<T>(string code, object req_info, object req_info2 = null) where T : IResBase;
//    }
//}
